import {get} from '@/libs/axios'

const dashboard = {
    // 统计
    statistics(formatData){
        return get('/dashboard/statistics',formatData)
    },
    //订单代理利润统计
    agencyRank(formatData){
        return get('/dashboard/agencyRank',formatData)
    },
     //商品库存警告
     storeWarn(formatData){
        return get('/dashboard/storeWarn',formatData)
    },
    //获取订单统计
    getOrder(formatData){
        return get('/dashboard/getOrder',formatData)
    }
}

export default dashboard
